{% extends "base_entries.html" %}

{% block title %}{{ block.super }} | Latest links{% endblock %}

{% block content %}
{% for link in latest %}
	<div class="content">
		<h2>{{ link.title }}</h2>
		<p>Published on {{ link.pub_date|date:"F j, Y" }}</p>
		<p>{{ link.description_html|safe }}</p>
		<p class="right"><a href="{{ link.url }}">Visit site</a></p>
	</div>

{% endfor %}
{% endblock %}

{% block whatis %}
<p>This is a list of the latest {{ latest.count }} links published.</p>
{% endblock %}